#include<thread>
#include<iostream>
using namespace std;

void print(int x ,int y)
{
    cout<<std::this_thread::get_id()<<":"<<x+y<<endl;
}

int main()
{
    thread t1(print,1,2);
    thread t2(print,1,3);
    t1.join();
    t2.join();
    return 0;
}